#pragma once

#include "CListCtrl_ToolTip.h"

class CListCtrl_EnableToolTip : public CListCtrl_ToolTip
{
public:
	void SetToolTipText(int nIndex, LPCTSTR lpszText);

protected:
	virtual INT_PTR OnToolHitTest(CPoint point, TOOLINFO * pTI) const;
	virtual void PreSubclassWindow();
	virtual CString GetToolTipText(int nRow, int nCol);
	DECLARE_MESSAGE_MAP();

private:
	CMap<int,int,CString,LPCTSTR>	m_mapTooltips;
};